package 设计模式.mediator;

/**
 * @功能
 * @创建时间 2020/5/4
 */
public class Client {
    public static void main(String[] args) {
        Mediator m = new President();
        Market market = new Market(m);
        Development devp = new Development(m);
        Finacial f = new Finacial(m);

        market.selfAction();
        market.outAction();
        devp.outAction();
        f.outAction();
    }
}
